CustomDpEntry

constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, orientation: Orientation? = Orientation.DEFAULT, customValue: ERROR CLASS: Symbol not found for Dp, finalQualifierResolver: DpQualifier? = null, priority: Int, inverter: Inverter? = Inverter.DEFAULT)

Parameters

uiModeType

The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.

dpQualifierEntry

The Dp qualifier entry (type and value, e.g., SMALL_WIDTH > 600). Null if only UI mode is used.

orientation

The screen orientation (LANDSCAPE, PORTRAIT, DEFAULT).

customValue

The Dp value to be used if the condition is met.

finalQualifierResolver

Optional dimension qualifier (e.g., HEIGHT) to be applied at resolution time.

priority

The resolution priority. 1 is more specific (UI + Qualifier), 3 is less specific (Qualifier only).

inverter

The inverter type to adapt scaling width/height on rotation changes (default is Inverter.DEFAULT).